//
//  ZYGlobal.h
//  ZYOils
//
//  Created by WANGGNIT on 2019/9/3.
//  Copyright © 2019 WANGGNIT. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface ZYGlobal : NSObject

/**
 判断是否为空
 */
+(BOOL)isEqualNull:(id)value;

/**
 返回空的字符串 @""
 */
+(NSString *)isReturnKongString:(id)value;

+ (ZYGlobal *)shareInstance;

- (NSString *)returnJiTian:(NSString *)timeStampStr;

- (NSString *)returnJiTianQian:(NSString *)timeStampStr;

- (NSString *)returnQian:(NSString *)timeStampStr;

- (NSString*)getTime:(NSString *)time;

//返回yyyy-09-90
- (NSString*)getTime2:(NSString *)time;

//MM月dd日
- (NSString*)getTime3:(NSString *)time;

- (NSString*)getTime4:(NSString *)time;

- (NSString*)getTime5:(NSString *)time;

- (NSString*)getTime6:(NSString *)time;

@end

NS_ASSUME_NONNULL_END
